#include <stdio.h>

int main( void )
{
	int rest = 0;
	int div = 256;

	printf( " -1  [%u].\n", -1 % div );
	printf( " -2  [%u].\n", -2% div );
	printf( " -254 [%d].\n", -254 % div );
	printf( " -255  [%d].\n", -255 % div );

	printf( " 0  [%d].\n", 0 % div );
	printf( " 1  [%d].\n", 1 % div );
	printf( " 251  [%d].\n", 251 % div );

	return 1;
}
